﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<dynamic>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	GetTransactionLog
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>GetTransactionLog</h2>
    <%if (ViewData["listtransactionlog"] != null)
      { %>
      <table>
      <tr>
      </tr>
      <%foreach (VgoCardChange.Models.Objects.TransactionLog tran in (List<VgoCardChange.Models.Objects.TransactionLog>)ViewData["listtransactionlog"])
        { %>
        <tr><td><%:tran.TransID %></td></tr>
        <tr><td><%:tran.FullName %></td></tr>
        <tr><td><%:tran.TransDate%></td></tr>
        <tr><td><%:tran.IpAddress%></td></tr>
        <tr><td><%:tran.UserAgent%></td></tr>
        <tr><td><%:tran.TransStatus%></td></tr>
        <tr><td><%:tran.CardSupplierID%></td></tr>
        <tr><td><%:tran.CardNumber%></td></tr>
        <tr><td><%:tran.SeriNumber%></td></tr>
        <tr><td><%:tran.Money%></td></tr>
        <tr><td><%:tran.Bonus%></td></tr>
        <tr><td><%:tran.Description%></td></tr>
        <tr><td><%:tran.GameName %></td></tr>
      <%} %>
      </table>
    <%} %>
    <%:Html.ActionLink("Tìm kiếm","SearchTran", "TransactionLog",new{@class="vadd"}) %>

</asp:Content>
